package com.fh.fruit.entity.classify;

import java.util.List;


public class Classify {
	/**
	 * 分类表字段
	 * */
	private int id;
	private String name;
	private int parentid;
	private String target;
	private Classify parentClassify;
	private List<Classify> subClassify;
	private boolean hasClassify = false;
	private String url;
	private String code;
	private String icoImg;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getParentid() {
		return parentid;
	}
	public void setParentid(int parentid) {
		this.parentid = parentid;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public Classify getParentClassify() {
		return parentClassify;
	}
	public void setParentClassify(Classify parentClassify) {
		this.parentClassify = parentClassify;
	}
	public List<Classify> getSubClassify() {
		return subClassify;
	}
	public void setSubClassify(List<Classify> subClassify) {
		this.subClassify = subClassify;
	}
	public boolean isHasClassify() {
		return hasClassify;
	}
	public void setHasClassify(boolean hasClassify) {
		this.hasClassify = hasClassify;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getIcoImg() {
		return icoImg;
	}
	public void setIcoImg(String icoImg) {
		this.icoImg = icoImg;
	}
	
}
